﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Data
{
    /// <summary>
    /// The DbContextBuilder interface.
    /// </summary>
    /// <typeparam name="T">
    /// </typeparam>
    public interface IDbContextBuilder<T> where T : DbContext
    {
        /// <summary>
        /// The build db context.
        /// </summary>
        /// <returns>
        /// The <see cref="T"/>.
        /// </returns>
        T BuildDbContext();
    }
}
